package com.fuluwa.domain.usercenter.model;

import java.util.Date;

import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.fuluwa.domain.file.model.FileInfo;
import com.fuluwa.domain.usercenter.model.UserProfile.GenderType;
import com.fuluwa.domain.usercenter.model.UserProfile.UserType;

@Embeddable
public class UserBasicInfo {
	/*private String chineseName;
	private String englishName;
	private String nickName;
	
	private String blood;
	private String constellation;
	private String chineseZodiac;
	
	@Enumerated(EnumType.STRING)
	private GenderType gender = GenderType.NONE;
	
	@Temporal(TemporalType.DATE)
	private Date birthday;
	private Integer age=0;
	


	@ManyToOne
	@JoinColumn(name="file_id")
	private FileInfo picture;*/
	private String chineseName;
	private String briefIntroduction;
	@Enumerated(EnumType.STRING)
	private UserType type=UserType.NONE;//EMPLOYEE,STUDENT,ENTERPRISE,NONE
	//for employee user
	@Enumerated(EnumType.STRING)
	private GenderType gender = GenderType.NONE;//性别,M,F,NONE
	private String currentDistrict;//所在地区
	private String currentIndustry;//所属行业
	private String currentPositionTitle;//职位名称
	private String currentEmployerName;//所在公司
	@Temporal(TemporalType.DATE)
	private Date workFromDate;//工作从XX时间到xx时间
	@Temporal(TemporalType.DATE)
	private Date workToDate;
	private String currentWorkFunction;//工作职能
	
	//for student
	private String schoolName;//学校名称
	private String majorName;//专业
	private String highEducation;//学历
	
	//for enterprise
	private String companyName;
	private String contactName;
	private String companyPhone;
	private String companyNature;
	private String companySize;
	private String companyDistrict;
	private String companyIndustry;
	
	
	
	
//	@Temporal(TemporalType.DATE)
//	private Date birthday;




	public GenderType getGender() {
		return gender;
	}




	public void setGender(GenderType gender) {
		this.gender = gender;
	}




	public String getCurrentDistrict() {
		return currentDistrict;
	}




	public void setCurrentDistrict(String currentDistrict) {
		this.currentDistrict = currentDistrict;
	}




	public String getCurrentIndustry() {
		return currentIndustry;
	}




	public void setCurrentIndustry(String currentIndustry) {
		this.currentIndustry = currentIndustry;
	}




	public String getCurrentPositionTitle() {
		return currentPositionTitle;
	}




	public void setCurrentPositionTitle(String currentPositionTitle) {
		this.currentPositionTitle = currentPositionTitle;
	}




	public String getCurrentEmployerName() {
		return currentEmployerName;
	}




	public void setCurrentEmployerName(String currentEmployerName) {
		this.currentEmployerName = currentEmployerName;
	}




	public Date getWorkFromDate() {
		return workFromDate;
	}




	public void setWorkFromDate(Date workFromDate) {
		this.workFromDate = workFromDate;
	}




	public Date getWorkToDate() {
		return workToDate;
	}




	public void setWorkToDate(Date workToDate) {
		this.workToDate = workToDate;
	}




	public String getCurrentWorkFunction() {
		return currentWorkFunction;
	}




	public void setCurrentWorkFunction(String currentWorkFunction) {
		this.currentWorkFunction = currentWorkFunction;
	}




	public String getSchoolName() {
		return schoolName;
	}




	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}




	public String getMajorName() {
		return majorName;
	}




	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}




	public String getHighEducation() {
		return highEducation;
	}




	public void setHighEducation(String highEducation) {
		this.highEducation = highEducation;
	}




	public String getCompanyName() {
		return companyName;
	}




	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}




	public String getContactName() {
		return contactName;
	}




	public void setContactName(String contactName) {
		this.contactName = contactName;
	}




	public String getCompanyPhone() {
		return companyPhone;
	}




	public void setCompanyPhone(String companyPhone) {
		this.companyPhone = companyPhone;
	}




	public String getCompanyNature() {
		return companyNature;
	}




	public void setCompanyNature(String companyNature) {
		this.companyNature = companyNature;
	}




	public String getCompanySize() {
		return companySize;
	}




	public void setCompanySize(String companySize) {
		this.companySize = companySize;
	}




	public String getCompanyDistrict() {
		return companyDistrict;
	}




	public void setCompanyDistrict(String companyDistrict) {
		this.companyDistrict = companyDistrict;
	}




	public String getCompanyIndustry() {
		return companyIndustry;
	}




	public void setCompanyIndustry(String companyIndustry) {
		this.companyIndustry = companyIndustry;
	}




	public UserType getType() {
		return type;
	}




	public void setType(UserType type) {
		this.type = type;
	}




	public String getChineseName() {
		return chineseName;
	}




	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}




	public String getBriefIntroduction() {
		return briefIntroduction;
	}




	public void setBriefIntroduction(String briefIntroduction) {
		this.briefIntroduction = briefIntroduction;
	}



}
